'eldoc-echo-area-use-multiline-p' is there for that.
* lisp/progmodes/python.el (python-eldoc-setup-code):
Make the change. (Bug#71720)
* etc/NEWS: Announce the change in behavior.
It sends the python block delimited by 'python-nav-beginning-of-block'
and 'python-nav-end-of-block' to the inferior Python process.
+*** 'eldoc' no longer truncates to a single line by default.
+Previously, the entire docstring was not available to eldoc, which made
+'eldoc-echo-area-use-multiline-p' ineffective. The old behaviour may be
+kept by setting that.
+
** Inferior Python mode
---
doc = '{objtype} {name}{args}'.format(
objtype=objtype, name=name, args=args
)
- else:
- doc = doc.splitlines()[0]
except:
doc = ''
return doc"